import Vue from 'vue'
import {
  Button,
  Tabbar,
  TabbarItem,
  NavBar,
  Icon,
  GoodsAction,
  GoodsActionIcon,
  GoodsActionButton,
  Popup,
  Sku,
  Toast,
  Swipe,
  SwipeItem,
  Search,
  Grid,
  GridItem,
  Card,
  Sidebar,
  SidebarItem,
  Form,
  Tab, Tabs,
  ImagePreview,
  Stepper,
  NumberKeyboard, Field,CellGroup,Cell,Image,Uploader,Radio,RadioGroup,
  Checkbox, CheckboxGroup,
  SubmitBar,
  Lazyload
} from 'vant'
Vue.use(Button)
// 标签栏
Vue.use(Tabbar)
Vue.use(TabbarItem)
// 购物车头部
Vue.use(NavBar)
Vue.use(Icon)
// 商品导航
Vue.use(GoodsAction)
Vue.use(GoodsActionButton)
Vue.use(GoodsActionIcon)
// 弹出层
Vue.use(Popup)
//  商品规格
Vue.use(Sku)
// 轻提示
Vue.prototype.$Toast = Toast
// 自定义滑块
Vue.use(Swipe)
Vue.use(SwipeItem)
// 搜索
Vue.use(Search)
// 宫格
Vue.use(Grid)
Vue.use(GridItem)
// 商品卡片
Vue.use(Card)
// 侧边导航
Vue.use(Sidebar)
Vue.use(SidebarItem)
// 表单
Vue.use(Form)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(ImagePreview)
Vue.use(Stepper)
Vue.use(NumberKeyboard)
Vue.use(Field)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Cell)
Vue.use(Image)
Vue.use(Uploader)
Vue.use(Radio)
Vue.use(RadioGroup) 




// 复选框
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
// 提交订单栏
Vue.use(SubmitBar)
// 懒加载
Vue.use(Lazyload)
